package com.ruikong.dazhi.service.basicinfo;

import com.ruikong.dazhi.entity.basicinfo.StockType;
import com.ruikong.dazhi.model.output.TreeMenuOutput;

import java.util.List;

/**
 * (StockType)表服务接口
 *
 * @author HuaJiaYi
 * @since 2021-09-09 13:22:10
 */
public interface IStockTypeService {

    StockType queryById(Integer id);

    int insert(StockType p);

    int update(StockType p);

    String deleteById(Integer id);

    List<TreeMenuOutput> getStockTypeTree();
    Integer isExist(StockType s);
    List<StockType> queryByPid(int pid);
}
